//
//  HomeCollectionCell.swift
//  XiaoJingMallSwift
//
//  Created by beisheng03 on 2017/7/25.
//  Copyright © 2017年 beisheng. All rights reserved.
//

import UIKit

class HomeCollectionCell: BaseCollectionCell {
    
    
    @IBOutlet weak var imageView: UIImageView!
    
    @IBOutlet weak var label: UILabel!
    
    var dic : [String : String]?{
        
        didSet{
            
            imageView.image = UIImage(named: dic!["imageName"]!)
            
            label.text = dic?["title"]
            
        }
        
        
    }
    

    override func awakeFromNib() {
        super.awakeFromNib()
        
        label.font = UIFont.systemFont(ofSize: 14)
        label.textColor = UIColor.dakGray()
        contentView.backgroundColor =  UIColor.white
        // Initialization code
    }

}




